package com.syncomponents.context;

import java.lang.reflect.Method;

/**
 * 操作实体
 * 
 * @author sunkey
 * @date Jan 28, 2015
 */
public class ActionEntity {

    public ActionEntity(Object instance, Method method) {
        this.instance = instance;
        this.method = method;
    }

    private Object instance;

    private Method method;

    private Class<?>[] paramTypes;

    public Object getInstance() {
        return instance;
    }

    public Method getMethod() {
        return method;
    }

    public Class<?>[] getParamTypes() {
        return paramTypes;
    }

    public void setParamTypes(Class<?>[] paramTypes) {
        this.paramTypes = paramTypes;
    }

}
